package Ooday02;

import javax.print.Doc;

public class OverrideDemo {
    public static void main(String[] args) {
        Student zg=new Student("张光",15,"潍坊","b152","1001");
        zg.sayHi();
        Teacher ll=new Teacher("李林",16,"泰安","2400");
        ll.sayHi();
        Doctor lw=new Doctor("老王",21,"济宁","医生");
        lw.doctor();
    }
}




















































